package com.monitor.dao;

import com.monitor.po.Message;
import com.monitor.util.Pager;

public interface MessageDao {
	void addMessage(Message message) throws Exception;

	Pager<Message> getMessageByPhone(String phone, int pageSize, int currentPage) throws Exception;

	int deleteMessageByPhone(String phone) throws Exception;

	int deleteMessage(long id, String phone) throws Exception;

	int deleteMessage(long[] ids) throws Exception;

	void updateMessageDeleteStatus(long id, int state) throws Exception;
}
